package com.itheima.youdianda.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.youdianda.dto.UserDto;
import com.itheima.youdianda.dto.UserRole;
import com.itheima.youdianda.entity.SysUser;
import com.itheima.youdianda.util.MyPage;

public interface SysUserService extends IService<SysUser> {
    public UserDto getUserDto(String userId);

    MyPage<UserRole> listByPage(String login_name, String status, String phone, String page, String limit);

    void updateByIdWithRoleName(UserRole userRole);

    UserRole getByIdWithRoleName(String id);

    void add(UserRole userRole);
}
